var thisContact;

var markersArray = new Array();
var ContactInfoMediator = Objs("view.ContactInfoMediator",
	Mediator,
{

	initialize: function( name, viewComponent )
	{ 
		ContactInfoMediator.$super.initialize.call( this, name, viewComponent );
    	this.VProxy = this.facade.retrieveProxy( ProxyNames.VEHICLE_PROXY );
		this.assetProxy = this.facade.retrieveProxy( ProxyNames.INITIAL_PROXY );
		this.registerListeners();
		
		
	},
	registerListeners: function()
	{   var mapPage = this.get();
		
	},
	get: function()
	{
		return this.viewComponent;
	},
	setvalue:function()
	{
	
		document.getElementById('c_first_name').value = vehicleSingle.first_name;
		document.getElementById('c_business_name').value = vehicleSingle.business_name;
		document.getElementById('c_contact_name').value = vehicleSingle.contact_name;
		document.getElementById('c_street_address').value = vehicleSingle.street_address;
		document.getElementById('c_city').value = vehicleSingle.city;
		document.getElementById('c_state').value = vehicleSingle.state;
		document.getElementById('c_zip').value = vehicleSingle.zip;
		document.getElementById('c_phone').value = vehicleSingle.phone;
		document.getElementById('c_cell_phone').value = vehicleSingle.cell_phone;
		document.getElementById('c_email').value = vehicleSingle.email;
		document.getElementById('c_contact_me').value = vehicleSingle.contact_me;
		document.getElementById('c_seller_note').value = vehicleSingle.contact_note;
		document.getElementById('c_delivery').value = vehicleSingle.delivery;
		document.getElementById('c_remove_by').value = vehicleSingle.remove_by;
		document.getElementById('c_transport_note').value = vehicleSingle.delivery_note;
	},
	unregisterListeners: function()
	{
	},
	listNotificationInterests: function()
	{
		return [
				NotificationNames.SETCONVALUE
		];
	},
    handleNotification: function( note )
	{ 
		
		switch (note.getName() )
		{ 
			case NotificationNames.SETCONVALUE:
				this.setvalue();
				break;
		}
	}	
});

